<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="./lib/vue.min-2.6.11.js"></script>
</head>

<body>
    <div id="app">
        <!-- 
            v-for 数值迭代 起始从 1开始 到 迭代的 number数值结束
         -->
        <p v-for="i in number"> 数值迭代： {{i}}</p>
    </div>
    <script>
        const vm = new Vue({
            el: '#app',
            data: {
                number: 10
            }
        })
    </script>
</body>

</html>